package com.xzkcompany.test_xzkdemo

import android.content.Context
import android.view.View
//import com.baidu.mapapi.map.MapView
import io.flutter.plugin.common.MessageCodec
import io.flutter.plugin.platform.PlatformView
import io.flutter.plugin.platform.PlatformViewFactory

public class MapViewFactory{
//: PlatformViewFactory
//    var mapView:MapView;
//
//    constructor(createArgsCodec: MessageCodec<Any>,
//                mapView: MapView) : super(createArgsCodec){
//        this.mapView=mapView
//    }
//
//
//
//    override fun create(context: Context?, viewId: Int, args: Any?): PlatformView {
//        val obj = object : PlatformView {
//            override fun getView(): View {
//                return mapView;
//            }
//
//            override fun dispose() {
//                //中断做法
//            }
//        }
//        return obj;
//    }


}